package com.ibeeking.found.content.b.rest.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ibeeking.found.content.service.common.param.BroadcastGoodsParam;

import com.ibeeking.found.content.service.common.query.BroadcastGoodsPageQuery;
import com.ibeeking.found.content.service.common.query.BroadcastGoodsQuery;

import com.ibeeking.found.content.service.common.vo.BroadcastGoodsVO;


import java.util.List;

public interface IBroadcastGoodsService {

    /***
     * 查询列表
     */
    List<BroadcastGoodsVO> list(BroadcastGoodsQuery query);

    /***
     * 分页查询列表
     */
    Page<BroadcastGoodsVO> pageList(BroadcastGoodsPageQuery pageQuery);
    /***
     * 新增
     */
    Boolean add(BroadcastGoodsParam param);

    /***
     * 批量新增
     */
    Boolean batchAdd(List<String>  goodsIds);
    /***
     * 修改
     */
    Boolean modify(BroadcastGoodsParam param);
    /***
     * 发布状态
     */
    public Boolean changePublishStatus(Long id, Integer status);
    /***
     * 通过id查询
     */
    BroadcastGoodsVO view(Long id);

    /***
     * 通过id删除
     */
    Boolean del(Long id);

}
